<?php
/**
 * CreateTime: 2023/6/7 10:58
 */

namespace App\Http\Requests\Sms;

use App\Http\Requests\BaseRequests;

class SendSMSRequest  extends BaseRequests
{

    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'temp_id' => "required",
            'law_case_ids' => "required",
        ];
    }

    public function messages()
    {
        return [
            'temp_id.required' => "模板id不能为空",
            'law_case_ids.required' => "案件id不能为空",
        ];
    }


}
